GeminiLabs\SiteReviews\Router S

Total Complexity 35
Dependencies 2
Dependents 2
Total lines 176
Lines of code 122
Logical lines of code 61
Comment lines 23
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
checkAjaxNonce()
S
59 5 14
sendAjaxError()
S
56 4 17
routePublicPostRequest()
S
65 4 9
checkAjaxRequest()
S
67 3 8
isValidPublicNonce()
S
68 3 7
routeAdminGetRequest()
S
70 2 6
routeAdminPostRequest()
S
69 2 7
routePublicGetRequest()
S
70 2 6
get()
S
65 2 8
isValidRequest()
S
78 2 3
post()
S
65 2 8
routeAdminAjaxRequest()
S
69 1 7
routePublicAjaxRequest()
S
69 1 7
unguardedAdminActions()
S
70 1 7
unguardedPublicActions()
S
68 1 8